package com.zs.backend.modules.dictionaryManagement.dto;

import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 字典表
 * </p>
 *
 * @author zs
 * @since 2024-03-23
 */
@Data
@Builder
@Accessors(chain = true)
public class DictionaryManagementAddOrUptRequest {

    @ApiModelProperty(value = "字典id，修改时必传", required = false)
    private Long id;

    @ApiModelProperty(value = "字典名称", required = true)
    @NotNull(message = "字典名称不能为空")
    private String dictionaryName;

    @ApiModelProperty(
        value = "类型（1:职称专业;2:企业部人员；3：人才部人员；4：收证人；5：人才名称；6：支付类型；7：手机管理人员）"
        , required = true)
    @NotNull
    private Integer type;

}
